Evaluation of Pseudo-Random Number Generation on GPU Cards
نویسندگان
چکیده
Monte Carlo methods rely on sequences of random numbers to obtain solutions many problems in science and engineering. In this work, we evaluate the performance different pseudo-random number generators (PRNGs) Curand library a modern Nvidia GPU cards. As numerical test, generate (PRN) non-uniform distributions using acceptance-rejection method. We consider GPU, CPU, hybrid CPU/GPU implementations. For additionally two implementations host device application programming interfaces (API). study how depends implementation parameters, including threads per block blocks streaming multiprocessor. To achieve fastest performance, one has minimize time consumed by PRNG seed setup state update. The duration increases with threads, while update decreases. Hence, is achieved optimal balance these opposing effects.
منابع مشابه
Pseudo-random number generation for Brownian Dynamics and Dissipative Particle Dynamics simulations on GPU devices
Brownian Dynamics (BD), also known as Langevin Dynamics, and Dissipative Particle Dynamics (DPD) are implicit solvent methods commonly used in models of soft matter and biomolecular systems. The interaction of the numerous solvent particles with larger particles is coarse-grained as a Langevin thermostat is applied to individual particles or to particle pairs. The Langevin thermostat requires a...
متن کاملFinite Fields and Pseudo-Random Number Generation
The purpose of this set of notes is to show, as simply as possible, how the theory of finite fields applies to certain commonly used pseudo-random number generators. Only those parts of the theory of finite fields that are needed for this purpose are presented, and the development of the algebraic theory needed for this is greatly simplified for this purpose. I have tried to compose these notes...
متن کاملHigh-Performance Pseudo-Random Number Generation on Graphics Processing Units
This work considers the deployment of pseudo-random number generators (PRNGs) on graphics processing units (GPUs), developing an approach based on the xorgens generator to rapidly produce pseudo-random numbers of high statistical quality. The chosen algorithm has configurable state size and period, making it ideal for tuning to the GPU architecture. We present a comparison of both speed and sta...
متن کاملOn a decentralized trustless pseudo-random number generation algorithm
We construct an algorithm that permits a large group of individuals to reach consensus on a random number, without having to rely on any third parties. The algorithm works with high probability if there are less than 50% of colluding parties in the group. We describe also some modifications and generalizations of the algorithm.
متن کاملA New Trend of Pseudo Random Number Generation using QKD
Random Numbers determine the security level of cryptographic applications as they are used to generate padding schemes in the encryption/decryption process as well as used to generate cryptographic keys. This paper utilizes the QKD to generate a random quantum bit rely on BB84 protocol, using the NIST and DIEHARD randomness test algorithms to test and evaluate the randomness rates for key gener...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Computation (Basel)
سال: 2021
ISSN: ['2079-3197']
DOI: https://doi.org/10.3390/computation9120142